package com.shengwei.truck.driver.bean.task;

import java.util.List;

/**
 * 订单详情页data数据
 */
public class JsonOrderDetailData {
    public String id;              //任务ID
    public String planNo = "";    //计划单号

    public String loadingProvinceName = "";
    public String loadingCityName = "";   //装货城市
    public String loadingAreaName = "";
    public String loadingAddress = "";    //装货详细地址

    public String unloadingProvinceName = "";
    public String unloadingCityName = ""; //卸货城市
    public String unloadingAreaName = "";
    public String unloadingName = "";
    public String unloadingAddress = ""; //卸货详细地址

    public String dispatchName;     //派单人
    public String dispatchPhone;   //派单人电话
    public String factoryLinkUser; //装货工厂联系人
    public String factoryLinkPhone; //装货工厂联系电话
    public String receiverName ="";    //收货人
    public String receiverPhone="";  //收货人电话


    public String goodsType = "";        //货物类型（名称）
    public List<String> vehPlateNums;  //一个订单可分派多个车辆
    public long plannedReceiptTime;   //计划收货时间
    public long createTime;           //发布时间
    //order相关
    public long addressId;
    public String completeQuantity = "";
    public long factoryId;
    public String factoryName = "";
    public long goodsId;
    public String goodsName = "";

    public String payType = "";
    public String planQuantity = "";
    public String unit = "";
    public String laName = "";
    public String uaName = "";

    public String getId() {
        return id;
    }

    public String getPlanNo() {
        return planNo;
    }

    public String getLoadingProvinceName() {
        return loadingProvinceName;
    }

    public String getLoadingCityName() {
        if(loadingCityName == null){
            return "";
        }
        return loadingCityName;
    }

    public String getLoadingAreaName() {
        if(loadingAreaName == null){
            return "";
        }
        return loadingAreaName;
    }

    public String getLoadingAddress() {
        if(loadingAddress == null){
            return "";
        }
        return loadingAddress;
    }

    public String getUnloadingProvinceName() {
        return unloadingProvinceName;
    }

    public String getUnloadingCityName() {
        return unloadingCityName;
    }

    public String getUnloadingAreaName() {
        return unloadingAreaName;
    }

    public String getUnloadingName() {
        return unloadingName;
    }

    public String getUnloadingAddress() {
        return unloadingAddress;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public String getReceiverName() {
        return receiverName;
    }

    public String getReceiverPhone() {
        return receiverPhone;
    }

    public List<String> getVehPlateNums() {
        return vehPlateNums;
    }

    public long getPlannedReceiptTime() {
        return plannedReceiptTime;
    }

    public long getCreateTime() {
        return createTime;
    }

    public long getAddressId() {
        return addressId;
    }

    public String getCompleteQuantity() {
        return completeQuantity;
    }

    public long getFactoryId() {
        return factoryId;
    }

    public String getFactoryLinkPhone() {
        return factoryLinkPhone;
    }

    public String getFactoryLinkUser() {
        return factoryLinkUser;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public long getGoodsId() {
        return goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public String getPayType() {
        return payType;
    }

    public String getPlanQuantity() {
        return planQuantity;
    }

    public String getUnit() {
        return unit;
    }
}